package com.yimi.policyservice.dto.product;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PolicyItemDto {

    private String id;

    private String productId;

    private String itemTypeCode;

    private String itemTypeName;

    private String payFrequencyCode;

    private String ruleType;

    private Integer maleAgeMin;

    private Integer maleAgeMax;

    private Integer femaleAgeMin;

    private Integer femaleAgeMax;

    private String compCalAccuCode;

    private String empCalAccuCode;

    private BigDecimal compBaseMin;

    private BigDecimal compBaseMax;

    private BigDecimal empBaseMin;

    private BigDecimal empBaseMax;

    private BigDecimal compRatio;

    private BigDecimal empRatio;

    private String groupUuid;

    private String comment;

    private String createId;

    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    private String groupSourceItemCode ;

    private List<String> itemGroupCodes = new ArrayList<>();


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getItemTypeCode() {
        return itemTypeCode;
    }

    public void setItemTypeCode(String itemTypeCode) {
        this.itemTypeCode = itemTypeCode;
    }

    public String getItemTypeName() {
        return itemTypeName;
    }

    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }

    public String getPayFrequencyCode() {
        return payFrequencyCode;
    }

    public void setPayFrequencyCode(String payFrequencyCode) {
        this.payFrequencyCode = payFrequencyCode;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public Integer getMaleAgeMin() {
        return maleAgeMin;
    }

    public void setMaleAgeMin(Integer maleAgeMin) {
        this.maleAgeMin = maleAgeMin;
    }

    public Integer getMaleAgeMax() {
        return maleAgeMax;
    }

    public void setMaleAgeMax(Integer maleAgeMax) {
        this.maleAgeMax = maleAgeMax;
    }

    public Integer getFemaleAgeMin() {
        return femaleAgeMin;
    }

    public void setFemaleAgeMin(Integer femaleAgeMin) {
        this.femaleAgeMin = femaleAgeMin;
    }

    public Integer getFemaleAgeMax() {
        return femaleAgeMax;
    }

    public void setFemaleAgeMax(Integer femaleAgeMax) {
        this.femaleAgeMax = femaleAgeMax;
    }

    public String getCompCalAccuCode() {
        return compCalAccuCode;
    }

    public void setCompCalAccuCode(String compCalAccuCode) {
        this.compCalAccuCode = compCalAccuCode;
    }

    public String getEmpCalAccuCode() {
        return empCalAccuCode;
    }

    public void setEmpCalAccuCode(String empCalAccuCode) {
        this.empCalAccuCode = empCalAccuCode;
    }

    public BigDecimal getCompBaseMin() {
        return compBaseMin;
    }

    public void setCompBaseMin(BigDecimal compBaseMin) {
        this.compBaseMin = compBaseMin;
    }

    public BigDecimal getCompBaseMax() {
        return compBaseMax;
    }

    public void setCompBaseMax(BigDecimal compBaseMax) {
        this.compBaseMax = compBaseMax;
    }

    public BigDecimal getEmpBaseMin() {
        return empBaseMin;
    }

    public void setEmpBaseMin(BigDecimal empBaseMin) {
        this.empBaseMin = empBaseMin;
    }

    public BigDecimal getEmpBaseMax() {
        return empBaseMax;
    }

    public void setEmpBaseMax(BigDecimal empBaseMax) {
        this.empBaseMax = empBaseMax;
    }

    public BigDecimal getCompRatio() {
        return compRatio;
    }

    public void setCompRatio(BigDecimal compRatio) {
        this.compRatio = compRatio;
    }

    public BigDecimal getEmpRatio() {
        return empRatio;
    }

    public void setEmpRatio(BigDecimal empRatio) {
        this.empRatio = empRatio;
    }

    public String getGroupUuid() {
        return groupUuid;
    }

    public void setGroupUuid(String groupUuid) {
        this.groupUuid = groupUuid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public String getGroupSourceItemCode() {
        return groupSourceItemCode;
    }

    public void setGroupSourceItemCode(String groupSourceItemCode) {
        this.groupSourceItemCode = groupSourceItemCode;
    }

    public List<String> getItemGroupCodes() {
        return itemGroupCodes;
    }

    public void setItemGroupCodes(List<String> itemGroupCodes) {
        this.itemGroupCodes = itemGroupCodes;
    }
}
